<div class="zs-ibox">
    <h2 style="float: none;text-align:center;border-bottom:1px solid deepskyblue">新建发送平台信息</h2>
    <button class="zs-btn" style="background-color: #ffffff;color: #ffffff;">&nbsp;</button>
    <form>
	    <table class="zs-form-tabs" width="100%">
	        <tr>
	            <td class="text">传输点名称：</td>
	            <td class="input">
	                <input type="text" class="zs-input" ng-model="CreateModel.NAME" style="width: 150px;border: 1px solid lightgrey;" from-check-rule="[{rule:'chinese',msg:'请输入中文'},{rule:'require',msg:'必填项'}]">
	            </td>
	            <td class="text">数据传输地址：</td>
	            <td class="input">
	                <input type="text" ng-model="CreateModel.IP" style="width: 105px;border: 1px solid lightgrey;" from-check-rule="[{rule:'ip',msg:'请输入规范IP'},{rule:'require',msg:'必填项'}]">
	                &nbsp;:
	                <input type="text" ng-model="CreateModel.PORT" style="width: 35px;border: 1px solid lightgrey;" from-check-rule="[{rule:'number',msg:'请输入数字'},{rule:'require',msg:'必填项'}]">
	            </td>
	        </tr>
	        <tr>
	            <td class="text">数采仪编码(MN)：</td>
	            <td class="input">
	                <input type="text" class="zs-input" ng-model="CreateModel.MN" style="width: 150px;border: 1px solid lightgrey;" from-check-rule="[{rule:'require',msg:'必填项'}]">
	            </td>
	            <td class="text">数据传输协议：</td>
	            <td class="input">
	                <com-select ng-model="CreateModel.TRANSPORT_PROTOCOL_ID" data=protocols
	                		component-object='ProtocolComModel'></com-select>
	            </td>
	        </tr>
	        <tr>
	        	<td class="text">心跳策略：</td>
	            <td class="input">
	                <com-select ng-model="CreateModel.HEARTBEAT_STRATEGY_ID" data='heartbeats'
	                            component-object='heartbeatComModel'></com-select>
	            </td>
	            <td class="text">污染物参数：</td>
	            <td class="input">
	                <com-mulit-check
	                        ng-model="CreateModel.PARAM_CODE_BUS"
	                        data='paramDict'
	                        component-object='ParamModel'></com-mulit-check>
	            </td>
	        </tr>
	        <tr>
	            <td colspan="4" style="text-align: center">
	                <input type="button" value="保存" class="zs-btn" com-submit="onCreateModelSubmit(true)"  from-check-submit="submitBtn">
	                <!--<button class="zs-btn" ng-click="onCreateModelSubmit(true)">保存</button>-->
	                &nbsp;&nbsp;&nbsp;
	                <button class="zs-btn" ng-click="onCreateModelSubmit(false)">取消</button>
	            </td>
	        </tr>
	    </table>
    </form>
</div>

